<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">

<ui:composition>
	<h:head>
		<meta http-equiv="Content-Type"
			content="text/html; charset=ISO-8859-1" />
		<link type="text/css" rel="stylesheet" href="css/myform.css" />
		<title>Rede de Imóveis</title>
	</h:head>
	
	<f:view>
		<f:loadBundle basename="br.com.imob.properties.messages" var="labels" />
		
		<div id="header">
						
			<!-- MENU -->
			
			<ui:insert name="menu">
				<ui:include src="/paginas/menu.xhtml" />
			</ui:insert>
			
			<br style="clear: left" />
		</div>
		
		<h:form id="FormExcluir">
			<rich:tabPanel id="panelDadosTipoImovel">
				<rich:tab id="tabDadosTipoImovel">
					<f:facet name="header">
                		<h:outputText value="Dados do Tipo do Imóvel" />
            		</f:facet>
            		<h:panelGrid id="gridDadosTipoImovel" columns="4">
            			<h:outputText value="#{labels.descricao}: "></h:outputText>
						<h:outputText id="tipoImovel" value="#{tipoImovelSisBO.dadosForm.tipoImovel}"></h:outputText>
									
	    			</h:panelGrid>
	    		</rich:tab>
			</rich:tabPanel>
			<h:commandButton action="#{tipoImovelSisBO.excluir}" value="#{labels.excluir}" rendered="#{tipoImovelSisBO.excluindo}"></h:commandButton>
			<h:commandButton action="#{tipoImovelSisBO.exibirPesquisa}" value="#{labels.cancelar}" immediate="true"></h:commandButton>
		</h:form>
		<rich:messages errorClass="error" infoClass="success" warnClass="alert"></rich:messages>
	</f:view>
</ui:composition>
</html>